﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
' ItemTooltip classes contributed by Lukan Schwigtenberg (sepai69@gmail.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Item.Tooltip

    ''' <summary>
    ''' A class that encapsulates gem socket information
    ''' </summary>
    ''' <remarks></remarks>
    Public Class SocketData

        ''' <summary>
        ''' The color of the socket
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Color As String

        ''' <summary>
        ''' The enchantment of the gem currently in the socket
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Enchant As String

        ''' <summary>
        ''' The icon's filename of the socket
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Icon As String

        ''' <summary>
        ''' Indicates that the gem's color matches the socket's color
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Match As Boolean

        ''' <summary>
        ''' A constructor to create new socket information
        ''' </summary>
        ''' <param name="strColor"></param>
        ''' <param name="strEnchant"></param>
        ''' <param name="strIcon"></param>
        ''' <param name="blnMatch"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal strColor As String, ByVal strEnchant As String, ByVal strIcon As String, ByVal blnMatch As Boolean)
            Color = strColor
            Enchant = strEnchant
            Icon = strIcon
            Match = blnMatch
        End Sub

    End Class

End Namespace
